package com.queming.service.sitesetting;

import com.queming.core.dto.SiteSettingDto;
import com.queming.service.SiteSetting.SiteSettingService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

/**
 * @author chencidiao
 * @date 2022/05/04 22:25
 **/
@SpringBootTest
public class sitesetting {
    private SiteSettingService settingService;
    @Autowired
    public void setSettingService(SiteSettingService settingService) {
        this.settingService = settingService;
    }

    @Test
    void getSiteSetting(){
        SiteSettingDto siteSetting = settingService.getSiteSetting();
        System.out.println(siteSetting.toString());
    }
}
